Repository navigation
GH-46092: [C++] Add filesystem related options to Meson - #46101
Conversation
2bb0e73 to
a2bdd12
Compare
|
@github-actions crossbow submit *meson |
|
Revision: a2bdd12cfadb5fb4c0ff33410b437cfc3e9637b4 Submitted crossbow builds: ursacomputing/crossbow @ actions-df2349b5fe
|
There was a problem hiding this comment.
| needs_filesystem = get_option('filesystem') or needs_azure or needs_gcs or needs_s3 or needs_hdfs | |
| needs_filesystem = get_option('filesystem') or needs_azure or needs_gcs or needs_hdfs or needs_s3 |
There was a problem hiding this comment.
Based on its README: https://github.com/googleapis/google-cloud-cpp?tab=readme-ov-file#google-cloud-platform-c-client-libraries
| description: 'Build Arrow with GCS support (requires the GCloud SDK for C++)', | |
| description: 'Build Arrow with GCS support (requires the Google Cloud Platform C++ Client Libraries)', |
There was a problem hiding this comment.
No problem - do you want me to update DefineOptions.cmake with the new description as well?
There was a problem hiding this comment.
@WillAyd I think that we can merge this once this is resolved.
There was a problem hiding this comment.
I think I am misunderstanding the request - I removed all the empty branches but this one has a test in it. I think we want to keep this around right?
There was a problem hiding this comment.
Ah, sorry. You're right. I misunderstood.
I thought that we have disabler() dependency for needs_hdfs here but it doesn't exist. We need this if needs_hdfs.
There was a problem hiding this comment.
Azure SDK for C++ prepared vcpkg automatically without this: https://github.com/Azure/azure-sdk-for-cpp/blob/27c2e5d335c9306d08aa49bd5fe92d0cc1628fe0/cmake-modules/AzureVcpkg.cmake#L17-L41
We don't want to use vcpkg here.
There was a problem hiding this comment.
Ok great - I will set to FALSE then. Should I update the CMake configuration as well?
There was a problem hiding this comment.
Ah nevermind - ignore comment above. I was thinking this ENABLED something but I see it DISABLEs
There was a problem hiding this comment.
No problem at all (for gcs and s3)
a2bdd12 to
3355228
Compare
|
@github-actions crossbow submit *meson |
|
Revision: 3355228 Submitted crossbow builds: ursacomputing/crossbow @ actions-f11410af11
|
There was a problem hiding this comment.
Could you fix this failure?
https://github.com/apache/arrow/actions/runs/14430422114/job/40464526899?pr=46101#step:7:423
CMake Error at cmake_modules/DefineOptions.cmake:27 (message):
description for ARROW_GCS contained a
line 86 characters long!
(max is 80). Split it into more lines with semicolons
Call Stack (most recent call first):
cmake_modules/DefineOptions.cmake:47 (check_description_length)
cmake_modules/DefineOptions.cmake:348 (define_option)
CMakeLists.txt:224 (include)
There was a problem hiding this comment.
Whoops - should be fixed now
999cf12 to
320167c
Compare
|
|
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 6b64396. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 7 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…#46101) ### Rationale for this change This continues adding support for the Meson build system by adding filesystem support ### What changes are included in this PR? This implements the filesystem directory and adds support for Azure. GCS and S3 are stubbed out but will raise an error when a user attempts to enable them, strictly because they look like larger integrations to get the dependency chain properly configured. ### Are these changes tested? Locally yes ### Are there any user-facing changes? No * GitHub Issue: apache#46092 Authored-by: Will Ayd <william.ayd@icloud.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
| # specific language governing permissions and limitations | ||
| # under the License. | ||
|
|
||
| [wrap-file] |
There was a problem hiding this comment.
Since there is nothing in the filename that says so, can we please add comments to those files mentioning that they are used by Meson? Or perhaps add a README in this directory. @WillAyd
There was a problem hiding this comment.
Sure no problem - I'll add a README to the directory
Rationale for this change
This continues adding support for the Meson build system by adding filesystem support
What changes are included in this PR?
This implements the filesystem directory and adds support for Azure. GCS and S3 are stubbed out but will raise an error when a user attempts to enable them, strictly because they look like larger integrations to get the dependency chain properly configured.
Are these changes tested?
Locally yes
Are there any user-facing changes?
No